package com.hp.qxf.canteenhou.dao.mapper;

import com.hp.qxf.canteenhou.dao.entity.Formson0819;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Mapper
public interface Formson0819Mapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Formson0819 record);

    int insertSelective(Formson0819 record);

    Formson0819 selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Formson0819 record);

    int updateByPrimaryKey(Formson0819 record);

    List<Formson0819> select();

    Formson0819 selectCanteens(@Param("week") String week, @Param("yearMonthDay") String yearMonthDay);

    Date selectDay();

    void getScore(@Param("score") Integer score, @Param("date") Date date);
}